<!--
  Generated template for the RegisterPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

    <ion-navbar>
        <ion-title>用户注册</ion-title>
    </ion-navbar>

</ion-header>


<ion-content>
    <ion-list>
        <ion-item>
            <ion-label stacked>手机号码：</ion-label>
            <ion-input type="text" [(ngModel)]="mobile" placeholder="请输入手机号"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label stacked>昵称：</ion-label>
            <ion-input type="text" [(ngModel)]="nickname" placeholder="字母、数字或下划线组成，不能以数字开头"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label stacked>密码：</ion-label>
            <ion-input type="password" [(ngModel)]="password" placeholder="密码由数字字母组合，长度 6 ~ 12 位之间"></ion-input>
        </ion-item>
        <ion-item>
            <ion-label stacked>确认密码：</ion-label>
            <ion-input type="password" [(ngModel)]="confirmPassword" placeholder="请再次输入密码"></ion-input>
        </ion-item>
    </ion-list>
    <div padding>
        <button ion-button color="primary" block (click)="register()">注册</button>
    </div>
    <div padding text-center>
        <button ion-button color="primary" outline (click)="gLoginPage()">已有账号?登录</button>
    </div>
</ion-content>